package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author hql123
 * @since 2018-05-23
 */
@TableName("nb_sm")
public class Sm extends Model<Sm> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 股东名称
     */
    @TableField("g_name")
    private String gName;
    /**
     * 资金量
     */
    @TableField("g_zjl")
    private Double gZjl;
    /**
     * 回报率
     */
    @TableField("g_hbl")
    private Double gHbl;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public Double getgZjl() {
        return gZjl;
    }

    public void setgZjl(Double gZjl) {
        this.gZjl = gZjl;
    }

    public Double getgHbl() {
        return gHbl;
    }

    public void setgHbl(Double gHbl) {
        this.gHbl = gHbl;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Sm{" +
        "id=" + id +
        ", gName=" + gName +
        ", gZjl=" + gZjl +
        ", gHbl=" + gHbl +
        "}";
    }
}
